package com.datatest.riskcheck.service.serviceImpl;


import com.datatest.beans.po.PolicyEntity;
import com.datatest.riskcheck.dao.tongdun.PolicyMapper;
import com.datatest.riskcheck.service.api.PolicyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EventIdServiceImpl implements PolicyService {

    @Autowired
    private PolicyMapper policyMapper;
    @Override
    public List<PolicyEntity> selectByEventId(String eventId) {
        return policyMapper.selectByEventId(eventId);
    }
}
